
import { postApi } from '../programs/request';

//AI问答
export async function aiAnswer(data:any) {
  try {
    const res:any = await postApi('ai',data);
    return res.data;
  } catch (error) {
    console.error(error); // 处理错误
    return "error-0000"
  }

  }